package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserBorrowDateLogDao;
import io.wdb.modules.generator.generator.entity.UserBorrowDateLogEntity;
import io.wdb.modules.generator.generator.service.UserBorrowDateLogService;



@Service("userBorrowDateLogService")
public class UserBorrowDateLogServiceImpl implements UserBorrowDateLogService {
	@Autowired
	private UserBorrowDateLogDao userBorrowDateLogDao;
	
	@Override
	public UserBorrowDateLogEntity queryObject(Long id){
		return userBorrowDateLogDao.queryObject(id);
	}
	
	@Override
	public List<UserBorrowDateLogEntity> queryList(Map<String, Object> map){
		return userBorrowDateLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userBorrowDateLogDao.queryTotal(map);
	}
	
	@Override
	public void save(UserBorrowDateLogEntity userBorrowDateLog){
		userBorrowDateLogDao.save(userBorrowDateLog);
	}
	
	@Override
	public void update(UserBorrowDateLogEntity userBorrowDateLog){
		userBorrowDateLogDao.update(userBorrowDateLog);
	}
	
	@Override
	public void delete(Long id){
		userBorrowDateLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userBorrowDateLogDao.deleteBatch(ids);
	}
	
}
